package com.qqt.csr.im.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qqt.csr.im.entity.RoomMember;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomMemberMapper extends BaseMapper<RoomMember> {

    /**
     * 根据账号id查询房间成员
     * @param accountIdList
     * @return
     */
    Long querySameRoomIdBy(@Param("list") List<Long> accountIdList, @Param("accountCount") Integer accountCount);
}
